Skip to content

Added new version and included functions in v1#4

Open
cmd-rodenburg wants to merge 2 commits intoneedle-ai:mainfrom
cmd-rodenburg:needle_v1_expand_functions
Open

Added new version and included functions in v1#4
cmd-rodenburg wants to merge 2 commits intoneedle-ai:mainfrom
cmd-rodenburg:needle_v1_expand_functions

Conversation

@cmd-rodenburg
Copy link
Copy Markdown

To expand the functions of the needle python library the following changes were applied:

  • New
    • Identify collection id by collection name
    • Update the collection id to be reused by other functions
    • Delete file function
    • Add file from URL including an update parameter to overwrite existing files (delete + add) with the same name
    • Added wait for indexing function

The v1 was updated, additionally for easier usage of the file a v2 was made to simplify usage. It contains the same functions but the layout is updated.

These versions can be tested using the DELETEMEv1 and DELETEMEv2 that will be deleted post PR review.

@cmd-rodenburg
Copy link
Copy Markdown
Author

Incorporated PR comments -

The PR contains the following changes:

  • New file function: Delete file by file id
  • New collection function: Identify collection id by collection name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants